package b.r;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import androidx.transition.Transition;
import b.f.a;

/* compiled from: Transition */
public class d extends AnimatorListenerAdapter {
    public final /* synthetic */ a a;
    public final /* synthetic */ Transition b;

    public d(Transition transition, a aVar) {
        this.b = transition;
        this.a = aVar;
    }

    public void onAnimationEnd(Animator animator) {
        this.a.remove(animator);
        this.b.m.remove(animator);
    }

    public void onAnimationStart(Animator animator) {
        this.b.m.add(animator);
    }
}
